/**
 * 20080102 1715: Eric Kao was modified.
 */

package util.date;

import com.e885.log.E885Logger;
import com.e885.util.date.DateUtil;

/**
 * 
 * <br>
 * Copyright: Copyright (c) 2001-2008<br>
 * Company: E885 Group
 * 
 * @author Eric.Kao(gau168.gau@msa.hinet.net)
 * @version 1.0
 */
public class FetchLatestYear
{
	public FetchLatestYear()
	{
		String[] years = DateUtil.fetchLatestYear( 8, DateUtil.SORT_DESC );

		for( int i = 0; i < years.length; i++ )
		{
			E885Logger.testLog.debug( "year:" + years[ i ] );
		}
	}

	public static void main( String[] args )
	{
		new FetchLatestYear();
	}
}
